package com.wxsong.authplatform.authweb.model.menu;

import java.io.Serializable;

public class Menu implements Serializable {
    private long id;
    private String name;
    private String url;
    private String description;
    private long parentId;
    private String code;

    public Menu() {
    }

    public Menu(String name, String url, String description, long parentId, String code) {
        this.name = name;
        this.url = url;
        this.description = description;
        this.parentId = parentId;
        this.code = code;
    }

    public Menu(long id, String name, String url, String description, long parentId, String code) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.description = description;
        this.parentId = parentId;
        this.code = code;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getUrl() {
        return url;
    }

    public String getDescription() {
        return description;
    }

    public long getParentId() {
        return parentId;
    }

    public String getCode() {
        return code;
    }
}
